home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9267 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.th-darmstadt.de!news
  2. From: enno@inferenzsysteme.informatik.th-darmstadt.de (Enno Sandner)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: member function pointer to function pointer conversion?
  5. Date: 29 Feb 1996 14:14:22 +0100
  6. Organization: Fachbereich Informatik, TH Darmstadt
  7. Sender: enno@kitz.inferenzsysteme.informatik.th-darmstadt.de
  8. Message-ID: <ltpwayi89d.fsf@kitz.inferenzsysteme.informatik.th-darmstadt.de>
  9. References: <4h36o7$php@mozo.cc.purdue.edu>
  10. NNTP-Posting-Host: kitz.intellektik.informatik.th-darmstadt.de
  11. In-reply-to: kime@cs.purdue.edu's message of 29 Feb 1996 03:32:23 GMT
  12. X-Newsreader: Gnus v5.1
  13.  
  14. In article <4h36o7$php@mozo.cc.purdue.edu> kime@cs.purdue.edu (FJ Kime Jr) writes:
  15.  
  16.    Yes,  a member function is meaningless without a specefic object
  17.    to operate on.  I want to manually link 'this' later,  but does anyone
  18.    know of a portable { i.e. something besides a compiler directive } way
  19.    to convert a member function pointer to a function pointer so that
  20.    it may be passed to an assembler routine (or the operating system)?
  21.  
  22. There is no portable way, unless the member function is declared as static.
  23.  
  24.     Enno
  25.